﻿using System;
using SampleData;

namespace Central.Linq.MvcJson.Engine {

	public class PersonViewModel {

		public PersonViewModel() { }

		public PersonViewModel(Person model) {
			this.Age = model.Age;
			this.Country = model.Country;
			this.Description = model.Description;
			this.Gender = model.Gender;
			this.IsMember = model.IsMember;
			this.Name = model.Name;
			this.Weight = model.Weight;
			this.MemberDate = model.MemberDate;
		}

		public int Age { get; set; }

		public Country Country { get; set; }

		public string Description { get; set; }

		public string Gender { get; set; }

		public bool IsMember { get; set; }

		public string Name { get; set; }

		public int Weight { get; set; }

		public DateTime MemberDate { get; set; }
	}
}